.background{
    color: rgb(227, 19, 20);
    background-color: rgb(69, 69, 69);
    font-family: Arial, Helvetica, sans-serif;
}

.logo{

    max-width: 300px;

}
.banner{
    height: 17vh;
    display: flex;
    
    flex-direction: column;
    color:white;
}

@media (max-width: 1175px) and (orientation: landscape) {
    .banner{
        height: 30vh;
        display: flex;
        
        flex-direction: column;
        color:white;
    }
}

a{
    cursor: pointer;
}
/* Main container used in all the page under the banner */
/* Container principal utilisé dans toutes les pages sous la bannière */

.container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 1%;
}
@media (max-width: 1175px) and (orientation: landscape) {
    .container {
        font-size: 90%;
    }
}
@media (min-width: 200px) and (max-width: 1800px) and (orientation: portrait) {
    .container {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 90%;
    }
}
@media (max-width: 900px) and (orientation: landscape) {
    .container {
        padding-top: 2%;
    }
}
/* For the login page */
/* Pour la page de connexion */

.loginForm{
    padding: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    color:rgb(227,19,20);
    
}

.loginForm th{
    width: 15rem;

    
}

.centerButton{
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.errormsg{
    color: white;
}

.contact{
    margin-top: 4%;
    text-align: center;
    background-color: rgb(197, 197, 197);
    padding-top: 2%;
    padding-bottom: 2%;
    width: 100%;
}

/* The items are the main menu's boxes */
/* item correspond aux boites du menu principal */

/* vehicle is for the fleet view to see their vehicles */
/* vehicle est pour la vue de flotte pour voir leurs véhicules */

.item, .vehicle{
    flex: auto;
    background-color: rgb(211, 211, 211);
    text-align: center;
    padding: 2%;
    margin: 1.5%;
    width: 17.5vw;
    height: 27.5vh;
    font-weight: bolder;
}




@media (orientation: landscape) {
    .vehicle{
        padding-top: 2vh;
        height: 40vh;

    }
}
@media (min-width: 200px) and (max-width: 500px) and (orientation: portrait) {
    .vehicle{
        padding-top: 2vh;
        
        width: 50vw;
    }
}


.item:hover, .vehicle:hover{
    background-color: rgb(164, 164, 164);
    border: 2px solid rgb(227,19,20);
}

/* The main menu's icons */
/* Les icônes du menu principal */
.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 10rem;
    max-width:10rem;
}

@media (max-width: 1175px) and (orientation: landscape) {
    .icon{
        max-height: 7rem;
        max-width:7rem;
    }
}

@media (max-width: 1000px) and (orientation: landscape) {
    .icon{
        max-height: 5rem;
        max-width: 5rem;
    }
    .menuBarText{
        display: none;
    }
}

@media (orientation: portrait) {
    .icon{
        max-height: 7rem;
        max-width:7rem;
    }
    .menuBarText{
        display: none;
    }
}

.menuBarText{
    white-space: nowrap;
}

.smallIcon, .smallIconD {
    justify-content: center;
    align-items: center;
    max-height: 2rem;
    max-width: 2rem;
    padding-right: 5%;
  }
  
  .smallIcon {
    display: flex;
  }
  
  .smallIconD {
    display: none;

  }
  
  .dropbtn:hover .smallIcon {
    display: none;
  }
  
  .dropbtn:hover .smallIconD {
    display: flex;

  }
/* All main menu and menu bar's items are defined as clickable,
    display: flex and flex-direction: column are here to make the items in those divs display under each other */
/* Toutes les divs du menu et de la menu bar sont définis en tant que clickable,
    display: flex and flex-direction: column sont là pour faire en sorte que les objets contenus apparaissent l'un sous l'autre */

.clickable{
    cursor: pointer;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}


.namediv{
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    margin-right: auto;
    padding-left: 5%;
    white-space: nowrap;
}



/* navbar is the banner at the top that contains the menu that will be available on all pages */
/* navbar est la bannière du haut qui contient le menu qui sera disponible sur toute les pages */
.navbar {
    
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    background-color: rgb(227,19,20);
    height: 5vh;
}

@media (max-width: 1175px) and (orientation: landscape) {
    .navbar {
        height: 10vh;
    }
}
.navbar a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

/* drop category are the buttons of the navbar */
/* La catégorie drop correspond aux bouttons de la navbar */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: rgb(227,19,20);
    border: none;
    cursor: pointer;
    width: fit-content;
}


@media (orientation: portrait) {
    .dropbtn {
        padding: 0 5px;
    }
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    z-index: 1;
    flex-direction: column;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgb(227,19,20);
    color: white;
    border-left: 4px solid black;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown:hover .dropbtn {
    background-color: white;
    color: black;
}

.dropbtn:hover{
    background-color: white;
    color: black;
}

/* Used for the boxes containing the file names and download links */
/* Utilisé pour les boxs contenant les noms des fichiers et les liens de téléchargement */
.fileListBody tr td {
    border: 2px black solid;
    background-color: lightgrey;
}
.documentDL{
    text-decoration: none;
    color: rgb(227,19,20);
    cursor: pointer;

}

.documentDL:hover{
    background-color: white;
    text-decoration: none;
    color: black;
}

.documentDL:focus,
.documentDL:active {
    outline: none;

}

.shortTextArea{
    width: 5vw;
    margin-right: 1vw;
}

.extractButton{
    margin-top: 3%;
    margin-bottom: 2%;
    padding: 1.5%;
    font-size: 100%;
}

.vehicleinfo{
    
    padding: 0.5%;
    width: 20vw;
    text-align: center;
    background-color: rgb(196, 196, 196);
    height: fit-content;
    font-weight: bold;
    color: rgb(227,19,20);
}
.vehicleinfo .vehicleValue{
    font-weight: 100;
    color: rgb(0, 0, 0);
}

.loginNote{
    color:lightgrey;
    font-size:80%; 
    text-align: center;
}